import playMode from './config';
const state = {
 
  count: 0,//背景变换
  myshow:false,//手机表示
  Highly: false,//底部高亮
  progress: 0,//进度条
  playing: false, //播放按钮
  fullScreen: false, //是否全屏播放
  mode: playMode.sequence, //播放模式
  sequencePlayList: JSON.parse(localStorage.getItem("sequencePlayList")) || [],//顺序播放
  currentIndex: localStorage.getItem("currentIndex") || -1,//当前音乐索引
  likeList: JSON.parse(localStorage.getItem("likeList")) || [],//喜欢的音乐
  attentionSingerList: JSON.parse(localStorage.getItem("attentionSingerList")) || [],//歌手
  ListenRecently: JSON.parse(localStorage.getItem("ListenRecently")) || [],
  searchHistory: JSON.parse(localStorage.getItem("searchHistory")) || [],//历史
  songsList: JSON.parse(localStorage.getItem("songsList")) || [],//歌单
  noticeBar: localStorage.getItem("noticeBar") || true,//
}

export default state